﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<IEnumerable<nelech.Models.DBModel.Marquee>>" %>

    <div class="marquee">
            <marquee behavior="scroll" direction="up" scrollamount="2" height="120" width="140">
            <% foreach (var marquee in Model)
               { %>
            
            <h3><%= marquee.title %></h3>
            <p>
            <%= marquee.text %>
            </p>
            <%} %>
            </marquee>
            </div>

